﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BaseSniffer
{
    public delegate void AlarmEventHandler(object sender, TabChangeEventArgs e);

    public class TabChangeEventArgs : EventArgs
    {
        private readonly int     _timeInSec;
        private readonly String  _tabName;

        public TabChangeEventArgs(int timeInSec,string tabName){
            _timeInSec = timeInSec;
            _tabName   = tabName;
        }

        public int Time{
            get { return _timeInSec; }
        }

        public String TabName{
            get { return _tabName; }
        }
    }
}
